<template>
  <view>
    <pagehead>服务商公约</pagehead>
    <view class="content" v-html="content">
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      content: '服务商公约'
    };
  },
  onLoad() {
    this.getSysContractByType()
  },
  methods: {
    // 查询系统协议
    getSysContractByType() {
      let that = this;
      const data = {
        contract_type: '07'
      }
      that.$Ajax('/api/system/contract/getSysContractByType', data, res => {
        if (res.success) {
          that.content = res.data.sysContract ? res.data.sysContract.contract_content : '';
        }
      }, err => { })
    },
  },
};
</script>

<style scoped>
.content {
  padding: 40rpx 20rpx;
}

image,
img,
video {
  max-width: 100%;
}
</style>
